package com.example.r2022913.service.AdministrationService;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.r2022913.model.entity.Administration.DTO.UserDTO;
import com.example.r2022913.model.entity.Administration.UserEntity;


import java.util.Map;


public interface UserService extends IService<UserEntity> {

    //查询后台用户列表接口
    IPage pageByMybatisPlus(Integer pageNum, Integer pageSize, Map<String, Object> params);

    //后台登录接口
    UserDTO login(String userName, String password);
}

